Previous Book Contents Book Index Next

Inside Macintosh: Mac OS 8 Toolbox Reference /
Chapter 2 - Control Manager Reference / Control Manager Functions
Accessing and Changing Control Settings and Data /


IsControlVisible

NEW WITH THE APPEARANCE MANAGER

Indicates whether a control is visible.

pascal Boolean IsControlVisible (ControlHandle inControl);
inControl
On input, a handle to the control whose visibility you wish to determine.
function result
Returns a Boolean value. If true, the control is visible. If false, the control is hidden.
DISCUSSION
If you wish to determine whether a control is visible, call IsControlVisible instead of testing the contrlVis field of the control structure.

SEE ALSO
"Appearance Manager Gestalt Selector Constants".


Previous Book Contents Book Index Next

© Apple Computer, Inc.
8 JAN 1998